package net.mgsx.product.t2m.modisco.ui;
import org.eclipse.gmt.modisco.infra.query.core.exception.ModelQueryExecutionException;
import org.eclipse.gmt.modisco.infra.query.core.java.IJavaModelQuery;
import org.eclipse.gmt.modisco.infra.query.core.java.ParameterValueList;
import org.eclipse.gmt.modisco.java.AbstractMethodDeclaration;

public class IsAbstract implements IJavaModelQuery<AbstractMethodDeclaration, Boolean> {
	public Boolean evaluate(final AbstractMethodDeclaration context, final ParameterValueList parameterValues)
			throws ModelQueryExecutionException {
		
		return context.getBody() == null;
	}
}
